package com.atguigu.gmall.user.client;

import com.atguigu.gmall.model.user.UserAddress;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

@FeignClient(name="service-user")
public interface UserFeignClient {
    //收货地址集合
    @GetMapping("/api/user/getUserInfoAddress")
    public List<UserAddress> getUserInfoAddress();
}
